package com.company.cloud.company.modules.mgr.controller.req;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.company.cloud.common.bean.BaseParam;
import com.company.cloud.common.constant.BaseConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Getter
@Setter
public class CustomerRewardSaveParam extends BaseParam {

    @ApiModelProperty(value = "是否开启获客奖励")
    private String isOpen = BaseConstant.YNEnum.NO.getCode();

    @ApiModelProperty(value = "获客奖励值")
    private BigDecimal rewardVal = BigDecimal.ZERO;

    @ApiModelProperty(value = "获客奖励商品分类(所有1,其他:?)", required = true)
    @NotEmpty(message = "获客奖励商品分类不能为空")
    private String rewardPrdType;

}
